Updated solution

Still doesn't work
Added solution to problem 46