Program developed in Haskell for a coursework.