Java assignment 1 COMPLETE