Clean up code;Remove redundancy in Tile's removeAgent()