added comments
Wrote readme and fixed shell script to work with Term.java