Sample programs

The three sample programs that follow provide simple examples of all three types of errors.