Final project for Java1