Added print subprogram to jh.py for printing variables