CS 104: Completed assignment 8 #2