Added square class and square methods on GeomSolverV2.java