My code from the CS50 class.