nqueens.hs: backtracking solution in haskell

written as a corollary to an Algorithms class project; uses backtracking