Problem #049 done
Improve prime calc