Improved solution for problem 2 and added solution for problem 3
Added execution time to all solutions and solution for problem 4