check_connection.c get_connections.c treasure_hunt.c header.h