doctest added

added doctest to test the implemented Cube.py so far.