Change The Powder Toy C++ to Java.