solved few problems from codeeval