implemented divisible by 3 logic - pass