in the middle of hw3
finished ten_pairs()
some notes