Here is how you should read the Solution :
For example In week 1, if you chose green portal in stage 0
You will have green and purple as an option in stage 1.
If you chose green in stage 1, you'll have purple and blue in stage 2 etc...

You Can also take a look at this : Optimized Maze Map