Topics in networks: Community detection, random graphs, and network epidemiology