hw7 of udacity's cs253