Create Triple.java