Fix typo and whitespace

Fix a typo in naming and whitespace for better layout
Fix world setting function

Correctly interpret input of 1 or TRUE as valid and all others as 0
Use function for random block creation

Move random block creation out to separate function
This shows how to use functions in own script
Replace letter build with settings example

Letter build long method not a good example
Use of world settings and checkpoints more useful
Add nil return to statement like methods

Return nil rather than allowing implicit return
For statement like methods that are not expressions
Fix for methods and nil returns

Make statement like methods return nil
Add method for handling boolean input in settings methods
Fix for return val and add player setting

Add the autojump setting for player to the example
nil not null
Rename example 22

Rename example 22 to reflect fact that includes player setting as well
Rename example 1

Rename example for consistency with example sets in other languages
Remove unused exact position method call

Remove unused call and place in another separate example
Add new examples

Add examples for setting and getting exact position
Add example getting stdin console keyboard input
Add shebang line

Add env based shebang line to all examples and blockData.rb
Fix random number range

Generate random number in same range as other languages
Move to using switch csae construction

Use switch case construction instead of if-elseif
Fix for return of function

Make it so function would return value if passed non-iterable
Add comment to explain flatten in ruby is recursive