Haskell basic problems solved in my Programming Languages class.