implemented DivConst method and unit test