From chance to the physical laws: Toy models to connect the microscopic and macroscopic understanding of physical phenomena