Solving Problem 31
Reorganizing Problem 2
Adding dummy for Problem 50
Solving Problem 50
Adding dummy for Problem 47
Solving Problem 47