Added backtracking for determining all knight tours.