All algorithms initially implemented, need to check for correctness