overhauled the code for movePlayerFromHex