Press the green flag to start and use the space key to stop.
I have made it using lists and variables. NOTE: This is just the v1.1. More updates would be coming soon.