Create boxrandominj.cpp