Fix redundant newline.
Fix code duplication for checking one n umber is multiple of another.