ok, at sample 2, when you read across the graph it is at height 2.
2 in binary is 010.
at sample 3, when you read across the graph it is at height 4.
4 in binary is 100
at sample 4, when your read across the graph it is at height 1.
1 in binary is 001
when you combine the 3...