Get Grid corners?

How can i get 4 corners from a grid of vector arrays.
Lets say i want to get the 4 corners from index 0 of my grid (corner 1 is index 0 already found from array)