update htdp examples to run in current pyret, add them to compile tests, fix bug where pi did not have methods