Question 1 (tiling.py) done