private static void render2D()
	{
		// Clear the screen and depth buffer
		GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);	
		for (int k = 0; k < world.getDepth(); k++)
		{
			for (int i =0; i < world.getWidth(); i++)
			{
				for (int j = 0; j < world.getHeight(); j++)
				{
					determineColor(world.getValue(i, j, k));
					// draw quad
					GL11.glBegin(GL11.GL_QUADS);
					    GL11.glVertex2f(widthFactor*i,heightFactor*j);
					    GL11.glVertex2f(widthFactor*(i+1),heightFactor*j);
					    GL11.glVertex2f(widthFactor*(i+1),heightFactor*(j+1));
					    GL11.glVertex2f(widthFactor*i,heightFactor*(j+1));
					GL11.glEnd();
				}
			}
			Display.update();
		}
		if (Keyboard.isKeyDown(Keyboard.KEY_R))
		{
			load();
		}
	}