triangles' area, perimeter can be calculated

*also checks if a triangle is valid