A statistician got curious about M&M colors and went on an endearingly geeky quest for answers