Assignment2 for grade