added solution for part3 of Gutenberg project