initial commit of algebra.h to handle algebra-related functions