Implemented basic simulation functionality

Simulation creates box and deleting it when finished.