Parser Project in Java