https://graphs.pythonprogramminghelp.com/3-you-need-to-know-about-probability-and-measure/