Init state in a random way.
Create init function.
Typo fix.