added triangle example code
added move example code