I have written a small terrain generation script for jMonkeyEngine. Essentially, it creates a grid of configurable amounts of quads with configurable size.
However, there is a bug, as you can see here:
[login to view URL]
Your task is to fix this bug. It should be very easy if you are familiar with JME.