how to find area of triangle in python using classes