Added the get_stop_neighbours() function
Prettified SQL