Auto problem solver using as a first function action Anomaly detection in NuPIC