Some sample code for the Amazon Code Ninja 2012