program to compare peak times and find matching peaks