Homework 2, Problem 7 - String And Object