Added neighbors function to graphs header file and fixed a missing implicit none in wrapper.f90