implements divide() method when dividor is one figure.