Final version of PALIN problem

the function isLessThan, just compares the digits on the pivot position
between current palindrome and original number. This optimizes the
function.