5x5 matrix, coordinate following robot wid arduino UNO

i would be obliged if u can post the code to make this robo follow a any coordinates of 5x5 grid...
and a little explaination of the codes about how it works.

i am using arduino uno
IR sensors to follow grid!

i am stuck at how to code my arduino to travel across the matrix and reach at a specified coordinate!
please help me out in making this thing out!

thank you-
tuxmonlife

to make this robo

"this" ?

Which one? Links?

Why are you doing this?

The only reasons I can think of for tackling such an obviously contrived problem is (1) for fun, as a learning exercise, or (2) as an academic exercise that has been set for you. In the first case, giving you the answer would be defeat the point of the project. In the second case, it would just be enabling you to plagiarize the solution.

PeterH:
In the second case, it would just be enabling you to plagiarize the solution.

Now that would be unusual, wouldn't it?