Implemented square and average functions