Some explanatory comment at d end
Breadth Search way of finding optimal soln.It can take lot of memory wrst case