UPDATE: Does not work in the new Scratch 3.0. The new scratch version broke a lot of cool projects. R.I.P. projects.
Scratch doesn't normally allow you to create lists using the code itself, but with this little trick you can bypass that. Part 1: https://scratch.mit.edu/projects/72139600/