What's new
- Converted functions to pure functions, it doesn't mutate the input arrays.
- Removed sorting algorithms as it doesn't match the library's purpose. Instead created a util function to handle sorting internally.
Math
factorial
- Gets the factorial of a given number.