finished ch11 programming challenge #3