Add Problem 39
Add Problem 40
Add common python primality library
Add Problem 41