Started on triangle generation