Adding Palidrome class unrefactored