A basic Natural Language Parser in python