hp-finite element codes for triangular mesh