Some uses of hypergraphs in timetabling