calcArea()

created and called calcArea() function.