assignments four and five of the Stanford's Course CS193P Coding Together: Developing Apps for iPhone and iPad (Winter 2013)