Made the code more efficient, added a victory condition.

Visit all the towns to win!