Added Encoder and nearly finished Itype, Jtype, and Rtype encodings.

Modified run.pl to work with python.