Finished assigment 3