Task 1

Fixed multiple errors in task 4, completed task 1