Finished working neighborhood iterator