Homework Six of CS 2102