complete triangle project,part 1