latex bibliography cite thesis how to write an essay fast in exam