Implemented compilation of user defined actions.
(compiles into python func of form f(p4,*args) )
One test passes. woohoo