pid = fork()
(pid == 0) while(1) {
fork()

state.randomize()

if(state.isCorrect()) exit(&state)
}
wait(&state)
printf(state)