Updated algorithms, added a file