if the_game.grid[square_location[0]][square_location[1]] == GameOfLife.ALIVE:
                        the_game.grid[square_location[0]][square_location[1]] = GameOfLife.DEAD
                    else:
                        the_game.grid[square_location[0]][square_location[1]] = GameOfLife.ALIVE
    if not paused:
        DISPLAYSURF.fill(BLUE_GREY)
        the_grid.draw_grid((0,0), the_game.grid, GRID_COLOR, LIVING_CELL_COLORS)

        alive_rows = []
        for row in range(the_game.grid.getHeight()):
            if the_game.grid[current_column][row] == GameOfLife.ALIVE:
                alive_rows.append(row)
                the_grid.color_square(current_column, row, MUSIC_NOTE_COLOR)
            else:
                the_grid.color_square(current_column, row, HIGHLIGHT_COLOR)
        current_column += column_dir 
        if current_column < 0 or current_column == the_game.grid.getWidth():
            column_dir *= -1
            current_column += 2*column_dir

        pygame.display.update()
        if len(alive_rows) != 0:
            audio.play_notes(alive_rows, time_per_col)
        else:
            pygame.time.wait(int(time_per_col*1000))
        the_game.time_step()
    if paused:
        the_grid.draw_grid((0,0), the_game.grid, GRID_COLOR, LIVING_CELL_COLORS)
        highlight_current_mouse_position()
        pygame.display.update()