SPOJ CODE: finding debrujin sequence