Reversible Breadth-first Algorithm (Naive)

Missing printPath procedure.

Can be cleaned up if there's implemented two-dimensional arrays.