C++ implementation of Numenta's Cortical Learning Algorithm (CLA)