Some common algos and their codes