Trying to implement the MF-Struct Class in java

still trying, half done.