working through stanford ios7 examples