updated modularization & division bug

bug where when entering an incorrect number in #4 division the program
would endlessly loop