A basic GL program, mostly for my own reference