Made a Triangle class and an Individual class.