examples for java code geeks or arrays manipulation in parallel using java 8 features