Cs50 Pset4 Solution