Terrain generator written in Java