Quiz3 Triangle code