Solved and passing, but too slow: runs for 3 seconds... if you get a lucky sequence