added head matching rule
Merge branch 'master' of https://github.com/msushkov/cs224n-pa3