Solutions to Code Chef Problems