read input from file
add hit_buffer monitoring and debug
put pattern_bank to separate file