solutions for codechef practice problems