added some comments to palendrome code
ran to test