Added simple implementation of observer pattern and tests
Correcting code to comply with checkstyle tests.
Merge pull request #1 from bark4mark/master

Added simple implementation of observer pattern and tests