Added pthread example