credits to rodolfo immanuelone24 and this scratch link i used for base 4 https://scratch.mit.edu/projects/1233773675/