Cortical Learning Algorithm Attempt 1