added some functions to
Revert "added some functions to"

This reverts commit 1d9ef5a46e7f52fb8dc272f46073ac76b4c56e8c.
functions for alg2

added some functions to the file alg2a.py to be used in the algorithm
very minor difference