Changed null to void 0 for first four underscore func, finished memoize, sortBy,difference, and cleaned up ternary on flatten