refactored Triangle's area method