Answer to code kata