Finished up io part

The implementation of problem A with Haskell is now complete.
Merged the two branches

Joe's branch and master's branch were merge.  The probA-haskell branch
should now be deleted.