Added new function to palendrom.py file