added tiles and click listener to return x, y coordinates