made for this guy: THIS CODE IS AGAIN, NOT RELIABLE OR OPTIMAL, I AM NOT AN EXPERT ON CODE AND THIS IS REALLY BASIC https://scratch.mit.edu/discuss/topic/790214/?page=1#post-8240560