add java queue example