added pitch comparison lecture code