Problem set 6 of cs50x