Pregunta de entrevista de Bell

code a 2d triangle and function to move and flip