Backtracking - find all the solutions for Eight Queen Problem