added main class and javacc file