Efficiency

Changed algorithm to be more efficient. The algorithm moves outwards
from a letter. Would be better to move inwards towards a centre to find
bigger palindromes before small ones.