updated various algorithms files