Create DivisilbeTest method

explains what the while block does