Add solution to 047
Clarify comments
Add function
Add solution to 048
Add solution to 049
Improved primeSieve, primeNoSieve, and isPermutation