graph coloring
backtraking and Co
alternative solution to 1262