Edited: childsgame.c: Wait for child processes to end.

Signed-off-by: Utkarsh Jaiswal <ujaiswal.iit@gmail.com>