added heartbeat and terminate to kernel
added declare ticks
made loop with precondition
made lazy pcntl_signal definition
added image to README
updated workflow to README
Merge pull request #3 from LinguaLeo/signal-catching

Signal catching