change integer to long long
add triangle perimeter calculator