Add a function for test the REPL in batch way

However, the function `test_repl' itself doesn't work.
Backup with bugs in...
Add a utility function `rep'
Implement the function of assignment

The operators defined includes `define' and `set!' so this version of
interpreter implements a data type for environment.
change of name