title: How do you convert an array of bitboards into a list?
body: <p>Please correct me if I'm wrong. The search algorithm, i.e. modified alpha beta, explores a list of legal moves. Firstly, one needs to initialize 
  an array of bitboards like this:</p>
  
  <p>unsigned long long knight_attacks[64]= {0x020800, 0x050800 and so on...}</p>
  
  <p>Each element will have 1's on all possible attack squares from that square,e.g.., knight_attacks[f4] will have 1's on d5, e6, g6, h5, d3, e2, g2, and h3 corresponding to the possible attack squares from f4.</p>
  
  <p>Once this has been initialized one needs to somehow convert into a list...</p>
  
  <p>How do you covert an array of bitboards into a list?
  thanks for the help brothers and sisters.</p>