iOS observer class Assignment 2