updated SquareRoot.java