test dynamic function call in class

currently all dynamic calls call the same test function
TODO: set up vtable to contain class methods
can now have function pointer arrays