Calculation of shortest paths for a knight on an empty chessboard