I suppose you are using strings because of simplicity. However, I think this can be bad example for people learning the language. I would rather use an `enum` like:

```
#[deriving(Show, Eq)]
enum DoorState {
    Open,
    Closed
}
```

You don't even need to modify `fn main()` thanks to the type inference of the compiler. What do you think about this?