Implemented problem B in Haskell

Problem B is implemented. An input test file is also added for testing
purposes.
Merge branch 'master' of https://github.com/acm-ndsu/competitions

Merging the two branches