https://medium.com/@theShortcut8/using-a-nested-loop-to-sum-the-elements-of-a-multidimensional-array-in-java-93a5e31cb86