Edifecs interview question

Not so difficult, but write a multi-threaded program