finding the area of triangle