ChapterOne_Problem4 done