Homework Methods

first three tasks from methods.