Wrote division function.

Change-Id: Icb524fa14918f798184f19e2dff8d9ad226d68d6