now uses getTile instead of array
added cheat capabilities