Rewrite programs to use cases instead of if-else
Use getContents >>= putStrLn, not interact id