Create genpalin.py

Code to generate list of palindrome upto n
Works perfectly for n==10^7