cs 116 assignment 7