My code for task 02.