Finished first Chapt 10 exercise