Added java version for eratosthenes
Added python version