Attempted 5-1 and 5-2; failed due to nto understanding getch and ungetch and how they contribute to getint. will revisit later.