Implement exact_infections
Add input method through standard input