Adding the 'dumb guy' solution. This thing is not nearly efficient enough to qualify.
Updated solution to use a *much* quicker algorithm.