handling signals C and Z
crtl z, working - fg and bg almost