finished first codejam problem whooooooooo!!!