Added two more algo, and adhere to coding syle
Typo