Lambda Method For Calculating Square