Haskell program to solve card guessing game. University assignment for COMP90048 Declarative Programming, Semester 2, 2014.