my halfhearted attempt to do 99 problems in haskell