this is just me putting my ideas into a simulation of it, the delays although wouldn't be there in the real world is just so you can observe what is happening.