My solution of the Nqueens problems. Part of a University Assignment