My Submission for Advanced, in Haskell