Adding "figura" parameter to draw several figures
Adding in switch case the feature to draw triangles