isDivisibleByThree method complete