Implemented divide  method