Create transition.java

The program is used  to create transition table from grammer
Steps to execute the program:
1. Enter the grammer in transition.txt with any spaces you wish as shown
2. run transition_compressor.java
2. run transition.java

input file-transition.txt
output file-transitionout.txt