added the code for slow start and congestion avoidence

need to sanitize the output. Should write the readme file.