Solved problem 58
Make primes::is_prime generic over the number type
Remove a conversion and improve performance by almost 2x (!!!!)
Improve readability a bit
Use shorthand field pattern