updated algorithm header and suited algorithm source file