Following is easy example for passing integer into threads and print it in order. I still can\'t find out where I did wrong: