@pikachuL2011 for all the code but i fixed it to make it a little faster by changing stuff.
@pikachuL2011 (he is one of my best friends so please follow him)