My resolution PSET1 - CS50