Implemented methods in Tile class, added getters and setters.