This is my marching cubes cave system! it took me about 5 hours.
Its uncopylocked as well incase you want to see how it works. If you spot a way I can improve the code then tell me.