def color_coder(grid, current):
    """Accepts spaceship grid.  Returns 0 if current space is black ('.'), and 1 if current space is white ('.')"""
    if grid[current[0]][current[1]] == '.':
        return 0
    elif grid[current[0]][current[1]] == '#':
        return 1
    else:
        print("And I oop...color_coder")