Add MB2 simulation demo code.
Added MB4 simulation demo code.