Refactored main method

Added the method IsDivisableBy3Or5