Associative learning in a network model of Hermissenda crassicornis