Create candy.java