Knight tour with backtracking algorithm.