Partially implemented camera rotating and implemented Painter's algorithm