cleaned up the code and made the save system work. while loop inside beginning.java continues indefinitely because I wanted to test if the save system worked.