add thread.c
Merge branch 'master' of https://github.com/bbougot/Feel_the_spirit