Trying to make problem 60 faster, but no luck