code: def arrayify(self):
          
          gene = []
          for layer in self.layers:
              if layer.type != 'Input':
                  for i in range(layer.size):
                      gene.append( layer.weight[i] )
          for connection in self.connections:
              for i in range(connection.fromLayer.size):
                  for j in range(connection.toLayer.size):
                      gene.append( connection.weight[i][j] )
          return gene
docs: Returns an array of node bias values and connection weights
          for use in a GA.