Java.txt: simplify plane data structure

The linearized map was a bit convoluted and rather outside the scope of
the example. A list works just fine here.