Wrote division function.

Change-Id: Ifee619abd108810c7280c614aa7b9789af545fd1