Learning some common algorithms by implementing them in rust.