Changed the numbering of values

Now subscripts of values begins from 0.

- value1 -> value0
- get1() -> get0()
- T1 -> T0