Homework 6 Triangle Checker Middle