Minor Update to project 4

Implemented partially the observer pattern