Will solve for sum of all div now
-Can insert any number from the range of 5+ and will return the correct sum
-Fixed where it was including the maximum number in the sum
Minor refactoring
-removed unnecessary sort