Small refactor to sort islice() bug

- Added test for find_maximum
- Added checks for int in nth()
- Added check for number of combos exceeding max integer size
Added test to catch too many combos