Cleaned up the code and made some changes and added stuff.
-Collison has been added, but is still wonky needs a bit of fixing and it will be good
-need to add pellet removal on collison it's not in the code atm so the cube will just expand forever.

-tested cube expansion and resetting when running off boarder, but atm some of these are disabled or taken out due to collison not working properly.