Add solution for Q014 - 'longest common prefix'.