countdown: only show the output after pressing enter

run logic in a separate thread so that we can look for
solutions in the background even while we wait for the user
to press enter before showing the solutions