Update pinqam_prog.py

rotation added