Solution to the koans 12 (creating functions)