Added clock and keyboard interrupt (initial code)