https://tutorialworld.in/java-coding/java-program-separate-even-and-odd/
Java Program to separate even and odd in two separate arrays