added functionality and test for 'b' and 'f'

* wrote the functions
* altered the way messages are created
-> globalMessageCount now starts at 0 and its incremented ++global*
meaning it reflects the number of active messages.
* i dun goofed with the implementation of ‘a’
Merge branch 'master' of https://github.com/sun-j/cs-projects