I am unable to save different possible paths.what type of data structure i should use to save different paths..as i have to further use these paths..