triangle project done and hopefully its passing all tests