got the valid? method for the the triangle-this means it all passes