Added namelist.py, containing all the code
Added documentation to README.md