Fixed duplicate examples.
Using mapM_ in main.

To reduce the complexity of the repeated calls to helper functions with
different arguments.