Java Advanced Features CP130 assignment 01