Wrote division function.

Change-Id: I9cc86cee55a0f9d9695f209e2d8c804344274b04