added triangle polygon type and updated samples

Fixes #5 (arbitrary vertices were already there)