Added Comment

Tried using an array of adjacent pairs rather than the hash. It worked, but I like the hash more because it gives some insight into the problem