changes to gameboard isLegal Move