files from harvard public website of cs161
add code Zhongjie Ren and I wrote in fall 2012