Added solution for problem 48
Added log for problem 48