Cleaned up and streamlined correct_path() // Utilized distance() in main in place of a delay between path corrections. // Fixed a typo in get_current_data().