finished writing main. added price comparer and interval checker