Solutions to the popular 100 doors programming question