CS50x pset3 find