added some methods to Tile class, made it so that each tile object knows
what its x and y are