Create mbox.R

Code to perform M-Box test.