converted from python
added param parser
added psi.txt
added .gitignore