Implement macth using hashTable

But this is slow, is it because of list is used to implement? Tomorrow
try to write a Java version to test
Test git ignore file