Adding codejam solution