alg2

commented out some print statements so it's easier to read the output in
other files that call these functions