Added CalculateAndPrintSquare