Remove whitespace
Implements divides() function and uses it in tests

Now we check that the returned factor actually divides the number without a
reminder.