Proof of concept for a temporal pattern recognition engine