Hierarchical Temporal Memory implementation in Golang