Added more tests for input
Reading program and data from same stream
Add file descriptor to input variable

Simplifies the implementation of 'eval_expr'.