Fixes and added tests

add test for calculation
fix check prime algorithm
fix calculation algorithm
Merge branch 'master' of github.com:flower-pot/go-primes