Use reflection to generate java 2D arrays and assign values to them.