Studying Infectious Diseases with Math: the SIR Model and Beyond