Added pthread example#