Implement functions for PIT intialization and interrupt handling