Minor refactor
Fix minor bug
Add problem 1 in Haskell