Calculating area of a triangle and printing to console.