math.js

+ Added factorial() function, with test cases.
Iterable.permutations()

+ Added method Iterable.permutations(), with test cases.