   18, 12
 ]
 
+ROWS = 50
+COLUMNS = 75
+
+
 RULES =
   "2_live": 'live'
   "3_live": 'live'

set_state = (col, row, state) ->
  $(make_id(col, row)).attr class: state

get_state_numeric = (col, row) ->
  # if cell is live returns 1, 0 otherwise
  if $(make_id(col, row)).hasClass('live')
    1
  else
    0

toggle = (cell_id) ->
  if $("#control")[0].value == "run"

      if get_state(col, row) == 'live'
         $("#coord_list").append(col + ", " + row + "\n")
$(document).ready( () ->
  create_table("#life", COLUMNS, ROWS)
  index = 0;
  while index < GLIDER_GUN.length
