Getting the maze builder and solver working in Java.

Also some updates to the Erosion routines, which now work in 1D and 2D