Adding solutions to problem 55/56&57. Abstracted Palindromic check, so have refactored solution to problem 4 too.