Create totalNQueens.cpp