achieve the pascal.java