Created seperate files for Figures and Board. Reimplemented logic in emptyTiles method