Stanford University CS193P (winter 2013) SPoT hw4