Problem 1 PSET1 - CS50