kata #2. f# done nicely