implemented version which is capable of running a simple classfile