Code for Udacity's CS 253 class.