Simple Example, Block tied to a Wall, python code

The following python program performs essentially the same calculations as the previous c++ code.