I have made a code which accepts a txt file as input, and parse, and put them in 2d array myarray[][2]. Input file structure looks like this:
aaa/bbb bbb/ccc