Create threeHeads.java