A two-Way Searching Algorithm for de novo peptide sequencing via tandem mass spectrometry