added an ActionListener that prints out x y coords

When button is clicked, x and y print out in terminal