I found this incomplete code that seems to make a loop by getting length of Enum.
And what did he mean by making an extra (unused index) in the enum?