week 4 project for java 2