cs 116a assignment7