Adding some problem 2 implementations
Adding more problem2