getting pointer working, setting up to swap tiles