This is an advanced version of my old encoder and decoder
everything by me I was hoping to take out the 4 variable see inside this one then check out my other one and compare old one : https://scratch.mit.edu/projects/51953106/