modified the return value of transProg, added temp.
driver2: start using Canon.hs.