Fixed FindPrimesTask and added argument passing