This is for my cs50 class problem set 2