added pattern example and threading example projects