Add initial documentation.
Rename function to congestion_algorithm().