Wyślij wiadomość: Learning Algorithm for the Recursive Pattern Recognition Model