Added util methods as an example for a way to write the op codes. 

Untested but should build.