Same as @TheWriteOff's project but 2x speed.
Thanks to @TheWriteOff for half the code (this was a collab and I decided to speed it up).