Add code for Hacker Cup 2013