add function to matching firsta position
Merge pull request #11 from bluedragon1/master

add function to matching firsta position