Kunal Kalsi's submission of StringCode | CodeChef