added javadoc
javadoc for sqaure added