finished for lab 3 except for resize while rotated for triangle