My Language Study Class Assignments, in haskell