A simple path finder Program(Pavan's Task)