determine the least number of moves required to move a knight to another position on a chess board