Code kata implementation