Minor peer changes

added receiveMessage(message m)