added script to run beam search in segments
save goal state at beginning in eval.py