Added child and neighbor iteration functions.  Changed some functions to use refs instead of ptrs.
Added child and neighbor iteration functions.  Changed some functions to use refs instead of ptrs.

cander/pseudoflow-solver,cander/pseudoflow-solver