Added task1-3 from assignment 5