put test_matcher.py in hardware/tests
added generate.py