https://scratch.mit.edu/projects/790027246/ This is what I got the code from. I changed it a bit but it is so good.