Added Out-degree and out-degree average functions

Added functions required to produce output to answer question 3. Also
added ER algorithm picture for reference