my solutions for code_eval challenges