solving codechef problems