title: Python objects in a grid
body: <p>I have created a grid, although I am having lots of trouble in creating a piece which can move around! I need there to be some sort of "character" able to move around as much as he likes in the directions of "up, down,left and right" Here is the code so far:</p>
  
  <pre><code> import random 
  
  
  N= int(input("How big would you like the grid to be?"))
  tictac = []
  
  for i in range(N):
      row = []
  for i in range(N):
      row.append('O')
  tictac.append(row)
  </code></pre>
  
  <p>Also if possible, I need pieces of treasure and bandits to be created randomly across the grid. </p>