Finished first task of excerise 2