Simulator for P2P assisted CDN system