Made program with Dr. Corwin's desired input and output