Rename algorithms package to algorithm