Modified for data format

Changed the .py file to suit the Gopal blog data format. And added a script to change the hierarchy file to suit the .py file. Added the data files there for checking