State Fixes

- Reordered visited state.
- Changed visited state for white and grey.