cs 2110 assignment 4