changed Rule to Parser and added test programs

*renamed Rule.java to Parser.java
*added 3 test programs to data folder
*implemented match() and syntaxError()
added checkForScanError() to Scanner
implemented assignment, write, read statements
added descriptive syntax error messages
print rule numbers to parse-tree

*added parse-tree to gitignore
*added file output to parser