LatticeGas in Java