https://queues.pythonprogramminghelp.com/how-to-mathematical-statistics-in-3-easy-steps/