Modeling and Simulation of Autonomic P2P Systems Based on Altruistic Policies