simple program to check if a number can be evenly divided