Extract lib/util.h of lib/structs/exam.h
Add bool typedef of lib/util.h
Add compute_conflict functions.