own dependency parser, made in java