Repo for some basic algorithms