Merge between Nicks stuff and mine (manually).
Implements error checking for adding/updating/deleting students/marks/markers