Epidemiological tool for contact tracing