Trying to implement HTM theory using Julia