Fixed bug inolving improper function pointer cast in calling Insert. Added main method to use for testing