Java code for creating fractal patterns using LWJGL