3rd java class

alot of files will need to be edited to be useful, i really struggled
here