Add divide and subtract

Add function divide and subtract