KC: Fixed the accepting, and added forking, but I think it is wrong. Need to take into account only 10 processes...