Create coin.java