added in a neighbors file to shorter main.cpp code