Cleanup in examples

- Replaced the HardwiredTupleProgram in examples and marked it as deprecated.
- Also added an utility script for building and running examples.