Assignment 1 Parts 4 5 6 attempted