Added function to retrieve the grid position of a tile, also some more work on units