Starter code for Project 3. Stanford CS247 2014