Added the square method
updated readme

Signed-off-by: aczirkle <aczirkle@gmail.com>