Added all the algorithms

Added all the algorithms