Created the constructor

Need help: figuring out if i am doing the setneighbors properly. I dont
know if I am implementing hashmaps properly.