added documentation template for bidirectional algorithms