-improved the neighbouring structure
-fixed some bugs (still counting issues)
-added a config file