Create triangleCounting.java