Code from my 6.S079 final project (spring 2014)