testZero method

bool testZero()

Test if all the positions are zero e.g(x=y=z=0)

Implementation

bool testZero () {
  if(x!=0 || y!=0 || z!=0){ return true;}
  else{ return false;}
}