Hw 6, task 1 (COMPLETED)