Prime Number Generator using Java 1.8 Stream API for multi-threading efficiency