Java work CSCI 1300