Solve question 5
Improve question 5 solution with standard library 'gcd'