An introduction to large deviations for random graphs - Sourav Chatterjee (2016)