Longest Common Prefix, the naive approach

https://oj.leetcode.com/problems/longest-common-prefix/

There's got to be a better way...