cs assignment 7