Tutorial/random_number.py complete.

Add some more lines to Tutorial/shared.py
Partial Translation of Tensor/sample1.py