Tidying up.
Added nqueens as an example.