Solution for the Code Kata "Data Munging"