A mathematical model to examine the effect of quarantine on the spread of coronavirus