created point objects gogogo
created function that finds possibledirections in a grid