Added function to find what tile was clicked