Use gcd function from the fractions module
Add problem 37
Add tests for problem 37
Refactor code
Minor refactor