MessagesList class added.

This class can facilitate the handeling of the messages of an agent
during the communication. In order to know how to use it just read the
documentation of the class.