Revert "add get_neighboring_vertices method"

This reverts commit 7a6767c58cc6b3deb46b1bf1d75817db5064f131.