Solutions to Code Eval problems