Below is an 8 × 8 chessboard on which we will designate square locations using the ordered pairs
as indicated. For example, notice that piece A is at position (2, 2) and piece B is at position (4, 3).
A knight is a special game piece that can leap over other pieces, moving in the “L” pattern. Specifically, in the diagram below, K represents the knight’s starting position and the numbers 1 through
8 represent possible places the knight may move to.
Your program will read the starting location of the knight and output the smallest number of jumps
or moves needed to arrive at a location specified in the second input.