added all the neccessary functions that given the width and height of the grid in input will be able to create a matrix . More to the point when given the towns that are under constructions it contraints those towns. At the end we are able to get an adjaceny dictionary that ,given a node , allows us to get the neighbours of the node