Added some java threading examples