validpalin.py added