P.S. I am working on this function, I will simply test that the given factor divides the number. I'll push a commit once I have it working.