1. In real life, customers do not choose a random cashier when they check out. They typically base their choice on at least the following two factors:

a The length of a line of customers waiting to check out.

b The physical proximity of a cashier.

Modify the simulation of Project 5 so that it takes account of the first factor.

2. Modify the simulation of Project 5 so it takes account of both factors listed in Project 6. You should assume that a customer initially arrives at the checkout line of a random cashier and then chooses a cashier who is no more than three lines away from this spot. This simulation should have at least four cashiers.