Pset7 of CS50x