simple objective c practice using delegates and classes