Added tiles class
Moved tile functions over to the tiles class
Improved tiles.createTile()
Added function tiles.removeTile()
Work on tile class.