Assignment #4 of Intro to Computer Programming II