wip
rewrite setting idt code and fix settin gdt code
fix pfree function