1. Convert nested loops into streams Java 8

    Convert nested loops into streams Java 8