Added a frame example

Not sure how useful this is, but this is a short example how to create a framebuffer and render to it to use the result as a texture. It is strongly based on the cube example.
nit: indentation