Code for the Amazonhack 5/4/13