stackTriangle2.java