Babynames Excercise completed with error checking