bfs for jug search working, needs testing