Added algorithms I stuff.