Print Triangle using Metods