cornell cs 3110 - spring 2014 practice answer