Added drawTiles()