Added 2 Algorithms