Revamp examples with simpler updated programs

These should serve as simple references to people trying to understand
library usage.