Stanford University CS193P (winter 2013) Matchismo hw4