Add basic GDT and IDT code from Brandon's tutorual.