CS193P code for Winter 2013