def surrounding_blocks(block_list, block):
    """ Returns a list with all surrounding blocks of a given block """
    return [item for item in block_list if (item.x + 20 == block.x and item.y + 20 == block.y) or 
        (item.x == block.x and item.y + 20 == block.y) or (item.x - 20 == block.x and item.y + 20 == block.y) or 
        (item.x - 20 == block.x and item.y == block.y) or (item.x - 20 == block.x and item.y - 20 == block.y) or 
        (item.x == block.x and item.y - 20 == block.y) or (item.x + 20 == block.x and item.y - 20 == block.y) or
        (item.x + 20 == block.x and item.y == block.y)]