Implement the first door puzzle. Seems to be working.