Dummy data generation to use IntStream with Java 8