Threading example

Added new installment with an example of threading.