Added code example for observer pattern presentation.