assignment 1 for class