Added new param to ComunicationMessage, which contains the payload from the Leader. It can be empty. This param is actually an ArrayList that contains all places from the Leader.
When Followers receive a Leader heartbeat, they check if it contains a payload. If it does, it swaps it's own ArrayList for the one that came from the Leader.
This closes #6.
To test this you can use the example bellow. Leader needs to be on Port: 6001 and Follower on Port: 6002:
Now Followers memory is updated by Leader!
To test this you can use the example bellow. Leader needs to be on
Port: 6001
and Follower onPort: 6002
: