Tiling Problem code

hello @POORVI_SAXENA
yeah it is correct.