add implementation of isdivisibleby
add test for isdivisibleby