updated print.prog to be in grammar . closed #33