Create nqueens.cpp

another backtracking solution from Spring 2013