Optimization

- A 42 % improvement in run time by memoizing on the sorted integers
  passed to sum-of-factorials.