Created a Triangle class for practice