A Chemical Reactor for Pattern Recognition :heart: