simple dependency parser for my NLP assignment