implemented cmp instructions and started implementing interrupt handling system