This template should get you started with writing a thesis and avoiding the most common errors