Simplification.
Using Collections.nCopies to simplify construction of action list.
Using the stream api.
Formatting.
Simplification using nCopies.
Simplified using nCopies.
Simplified using Collections.nCopies.
Using the stream api.
Make the grid unmodifiable.
Using Collections.nCopies to simplify.