Solution
Congratulations for attempting the activity. Below, we have a sample solution for it.
If yours doesn't look exactly like it, don't worry. As long as the behavior is the same, both solutions are acceptable.
Link: Solution
You can also test the project here by clicking on the Start Simulation
.