Solution for problem 14 (easy)

Specifically this solution limits itself to primitive string arrays.