added exercise 3.1 of programming obj-c
added prog3.2 from programming obj-c