title: Markov chain generator
body: <p>The generator should take a starting point (an integer). With each pass of the resultant generator object to next, a random step from the last point returned (or the starting point if no point has yet been returned) should be performed. The result of this step should be returned after the step is taken.</p>
  
  <pre><code>import random
  
  def markov(start: int):
    for i in range (1):
       yield random.randint(i-1, i+1)
  </code></pre>
  
  <p>What is wrong with my code?</p>