Added diagonal searches, fixed randomTile(), fixed stair handling, fixed stile