Golf project for Java