A collection of backtracking problems and solutions