adding a queue for use with graph search