Project 3 of CS354 Computer Graphics - Implement surface subdivision