Meved code in and out of ranger.h:

Removed long build_ranges functions in ranger.h, and put it in ranger.c.
Added helper functions for checking if a "struct range" is in a "struct ranges",
and to return the index of the range in the list.
Ignore binaries:

Added binary output to .gitignore.