In class assignment 2