String output homework from CS