implemented IDT, PIC and keyboard handler