Solved problem 46
Solved problem 47 but does take a while.
Problem 47 better, yet not good enough in terms of time
Yet a little better for prob 47. Still not great
Solved problem 43