Lab 1, part 9 - UPDATE & RENDER FUNCTIONS ADDED