added overflow checking
	modified:   ch10/queue.h