Update solver.hs

Made indents canonical, made text more readable.
Update solver.hs

intercalate "\n" == unlines
Update solver.hs
Update solver.hs
Merge pull request #1 from Heimdell/master

Canonicalised format, made readable, used more standart functions.