Made nPr more efficient
Solved #25
Solved #33