fix lab 5

fix lab 5 to add triangle parsing code snippet