Added constructor for Cube