Updated and optimized the n queens problem.

I finally understood how foldM on lists work :happy: Since this provides an
efficient way of backtracking, no guard is needed for reasonable numbers
anymore.
Merge branch 'Queens' into fixHaddockParingErrors
Further code cleanups

This commit fixes some warnings while compiling.