Computer Modeling of Associative Learning