add anomaly detection test example

add unit test for ANSI C to demo a very basic anomaly detection
strategy for a simple HTM region