Finds number of paths a knight's tour can take around a phone pad for a given number of maximum moves.