Route finding application written in C