> Added documentation block for isPalindrome method.
> Added extra case for empty strings.
>> Assumed to be palindromes.
> Added extra case for 1 character strings.
>> Not needed as such but facilitates an early exit.
>> Assumed to be palindromes.
> Revised approach of stacking max value everytime I push.
>> I now maintain a seperate stack of max values. This approach can be beneficial as it would only record
>> different max values. Therefore reducing the space usage under good circumstances. However, the worst case
>> scenario of this approach (for example: all incremental items.) would have the same effect as my last
>> approach where I ended up doubling space.
> Added documentation blocks for different methods.
> Added exception handling and updated documentation blocks respectively.
> Added 2 tests to main for empty stack.
> Fixed recursive behaviour by totally eliminating the need for return value in getRouteBetween.
> Updated documentation block of getRouteBetween.
> Some code formatting.
> Removed redundant code.